<?php if(!empty($Videos)): ?>
<?php $firstVideo = current($Videos); ?>
<table width="100%" cellpadding="0" cellspacing="0" class="table-video">
<tr>
    <td valign="top" width="400px" class="video" id="mainVideo">
        <iframe width="400" height="300" 
            src="<?php echo $firstVideo['Embed'] ?>" 
            frameborder="0" allowfullscreen>
        </iframe>
    </td>
    <td valign="top">
        <ul class="list-video">
            <?php foreach($Videos as $video): ?>
            <a href="#" title="<?php echo $video['VideoName'] ?>" 
                link="<?php echo $video['Embed'] ?>">
                <li 
                    class="<?php echo ($firstVideo['VideoId'] == $video['VideoId'] ? 'active' : '') ?>">
                        <?php echo subword($video['VideoName'], 25) ?>
                </li>
            </a>
            <?php endforeach; ?>
        </ul>
    </td>
</tr>
</table>
<?php endif; ?>